package pjwstk.jps.datastore;

import java.util.*;

/**
 * @author s9111_s10304
 *
 */
public class ComplexObject extends SBAObject implements IComplexObject {
	private List<OID> childOIDs;

	/**
	 * @param aOid
	 * @param aName
	 * @param aOIDs
	 */
	public ComplexObject(OID aOid, String aName, List<OID> aOIDs) {
	    super(aOid, aName);
	    childOIDs = aOIDs;
	}
	
	@Override
    public List<OID> getChildOIDs() {
	    return childOIDs;
    }
	
	public String toString() {
		return name;
	}
}